﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="customer.aspx.vb" Inherits="Project2.customer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../Assignment/airportStyles.css" />
    <style type="text/css">
    </style>

    <script type="text/javascript">

        function getData() {
            name = document.getElementById("txtCustName").value;
            if (!isNaN(name)) {
                alert("Please enter the customer's name.")
                return false;
            }
            else {
                return true; 
            }
        }
    </script>

</head>

<body>

    <div id="header"></div>
    
    <div id="outLeftCol"></div>

    <div id="inLeftCol">
  
        <div id="leftMenu">
            <center>
            <h2 style="font-size:x-larger; text-decoration: underline; ">~~Navigation~~</h2>
            <a href="customer.aspx" style="font-size: large"  >Customers</a><br /><br />
            <a href="flights.aspx" style="font-size: large"  >Flights</a><br /><br />
            <a href="search.aspx" style="font-size: large"  >Search Airports</a><br /><br />
            <a href="reservations.aspx" style="font-size: large"  >Reservations</a><br /><br />
            </center>
        </div>
    </div>

    <div id="centerContent">
    <form id="form2" runat="server">
    <div id="centerContentButtons">
    <asp:Button runat="server" ID="btnNewCust" Text="Add New Customer" OnClientClick="return getData();"  />
    </div>
    <div id="contentArea">
    <asp:Label runat="server" ID="lblCustName" Text="Enter Customer Name:"></asp:Label><br />
    <asp:TextBox runat="server" ID="txtCustName" Width="179px" onfocus="this.value=''"></asp:TextBox><br /><br />
    <asp:Label runat="server" ID="lblCustInfo" Visible="false"></asp:Label>
    </div>
   </form>
    </div>

  


    <div id="inRightCol"></div>
    <div id="outRightCol"></div>

    <div id="footer"></div>

</body>
</html>
